package com.atguigu.stgy.app.service.impl;

import com.atguigu.stgy.app.service.RoomPaymentTypeService;
import com.atguigu.stgy.model.entity.PaymentType;
import com.atguigu.stgy.model.entity.RoomPaymentType;
import org.springframework.stereotype.Service;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//import com.atguigu.stgy.model.entity.RoomPaymentType;
import com.atguigu.stgy.app.mapper.RoomPaymentTypeMapper;

import java.util.List;

@Service
public class RoomPaymentTypeServiceImpl extends
        ServiceImpl<RoomPaymentTypeMapper, RoomPaymentType>
        implements RoomPaymentTypeService {

    @Override
    public List<PaymentType> selectListByRoomId(Long roomId) {

        return baseMapper.selectListByRoomId(roomId);
    }
}
